package com.zhiwei.codesecurity.web.api.taskadd.request;

import com.zhiwei.codesecurity.common.base.BaseEntity;
import java.util.ArrayList;

public class CreateTaskReq extends BaseEntity {
    private static final long serialVersionUID = -8855033311613141713L;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 团队ID
     */
    private Long teamId;

    /**
     * 上传文件类型; 1：本地上传 2：远程上传
     */
    private Integer uploadType;

    /**
     * 文件名称
     */
    private String fileName;

    /**
     * 远程代码仓库类型; 1：SVN 2：GIT
     */
    private Integer remoteType;

    /**
     * 远程仓库地址
     */
    private String svnGitUrl;

    /**
     * 连接用户名
     */
    private String svnGitUsername;

    /**
     * 连接密码
     */
    private String svnGitPwd;

    /**
     * git分支
     */
    private String gitBranchname;

    /**
     * 需要过滤的文件名; 多个文件以“,”分隔
     */
    private ArrayList<String> fileFilter;

    /**
     * 需要过滤的文件夹名; 多个目录以“,”分隔
     */
    private ArrayList<String> directoryFilter;

    /**
     * 扫描接口列表; 多个接口以“,”分隔
     */
    private ArrayList<String> interfaceList;

    /**
     * 扫描提交发送; 多个接口以“,”分隔
     */
    private ArrayList<String> submitReceivers;

    /**
     * 扫描失败发送; 多个接口以“,”分隔
     */
    private ArrayList<String> failedReceivers;

    /**
     * 扫描成功发送; 多个接口以“,”分隔
     */
    private ArrayList<String> successReceivers;

    /**
     * 作业执行类型;1：立即执行 2：计划执行
     */
    private Integer jobType;

    /**
     * 计划执行类型; 1：定时执行 2：重复执行
     */
    private Integer jobConfigType;

    /**
     * 定时执行时间; 例如：2018-06-15 10:30:30
     */
    private String fixedTime;

    /**
     * 重复执行月; 例如：1,2,3,4,5
     */
    private ArrayList<String> repeatMonth;

    /**
     * 重复执行星期; 例如：1,2,3,4,5,6,7
     */
    private ArrayList<String> repeatWeek;

    /**
     * 重复执行时间; 例如：10:30:30
     */
    private String repeatTime;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public Long getTeamId() {
        return teamId;
    }

    public void setTeamId(Long teamId) {
        this.teamId = teamId;
    }

    public Integer getUploadType() {
        return uploadType;
    }

    public void setUploadType(Integer uploadType) {
        this.uploadType = uploadType;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public Integer getRemoteType() {
        return remoteType;
    }

    public void setRemoteType(Integer remoteType) {
        this.remoteType = remoteType;
    }

    public String getSvnGitUrl() {
        return svnGitUrl;
    }

    public void setSvnGitUrl(String svnGitUrl) {
        this.svnGitUrl = svnGitUrl;
    }

    public String getSvnGitPwd() {
        return svnGitPwd;
    }

    public void setSvnGitPwd(String svnGitPwd) {
        this.svnGitPwd = svnGitPwd;
    }


    public ArrayList<String> getFileFilter() {
        return fileFilter;
    }

    public void setFileFilter(ArrayList<String> fileFilter) {
        this.fileFilter = fileFilter;
    }

    public ArrayList<String> getDirectoryFilter() {
        return directoryFilter;
    }

    public void setDirectoryFilter(ArrayList<String> directoryFilter) {
        this.directoryFilter = directoryFilter;
    }

    public ArrayList<String> getInterfaceList() {
        return interfaceList;
    }

    public void setInterfaceList(ArrayList<String> interfaceList) {
        this.interfaceList = interfaceList;
    }

    public ArrayList<String> getSubmitReceivers() {
        return submitReceivers;
    }

    public void setSubmitReceivers(ArrayList<String> submitReceivers) {
        this.submitReceivers = submitReceivers;
    }

    public ArrayList<String> getFailedReceivers() {
        return failedReceivers;
    }

    public void setFailedReceivers(ArrayList<String> failedReceivers) {
        this.failedReceivers = failedReceivers;
    }

    public ArrayList<String> getSuccessReceivers() {
        return successReceivers;
    }

    public void setSuccessReceivers(ArrayList<String> successReceivers) {
        this.successReceivers = successReceivers;
    }

    public Integer getJobType() {
        return jobType;
    }

    public void setJobType(Integer jobType) {
        this.jobType = jobType;
    }

    public Integer getJobConfigType() {
        return jobConfigType;
    }

    public void setJobConfigType(Integer jobConfigType) {
        this.jobConfigType = jobConfigType;
    }

    public String getFixedTime() {
        return fixedTime;
    }

    public void setFixedTime(String fixedTime) {
        this.fixedTime = fixedTime;
    }

    public ArrayList<String> getRepeatMonth() {
        return repeatMonth;
    }

    public void setRepeatMonth(ArrayList<String> repeatMonth) {
        this.repeatMonth = repeatMonth;
    }

    public ArrayList<String> getRepeatWeek() {
        return repeatWeek;
    }

    public void setRepeatWeek(ArrayList<String> repeatWeek) {
        this.repeatWeek = repeatWeek;
    }

    public String getRepeatTime() {
        return repeatTime;
    }

    public void setRepeatTime(String repeatTime) {
        this.repeatTime = repeatTime;
    }

    public String getSvnGitUsername() {
        return svnGitUsername;
    }

    public void setSvnGitUsername(String svnGitUsername) {
        this.svnGitUsername = svnGitUsername;
    }

    public String getGitBranchname() {
        return gitBranchname;
    }

    public void setGitBranchname(String gitBranchname) {
        this.gitBranchname = gitBranchname;
    }
}
